home *** CD-ROM | disk | FTP | other *** search
- | > InjectNews
- |
- | Syntax: InjectNews <NewsServerAddress> <Filename>
- |
- | InjectNews will queue the specified file for posting to News via the
- | specified NewsServer. It performs no error checking on the file, and
- | assumes that the file contains a valid header.
- |
- | This version of InjectNews produces single, uncompressed news articles
- | for sending straight to the other end. It needs little memory and is
- | the best version for people with minimal RAM available.
-
- | Ensure enough memory for uux to run
- Wimpslot -min 160k
-
- | Save old debug level, set current debug level to -1
- Set OldDebug <Rucp$Debuglevel>
- Set Rucp$Debuglevel -1
-
- | Generate news batch
- | Set Inject$File %1
- | Run <ReadNews$Dir>.Library.SetupPost
- | Unset Inject$File
- | Remove %1B
- | Print %1 { >> %1A }
- | Remove %1
-
- | Execute 'rnews' on this file at remote end.
- | Uux - %0!rnews <%1A
- | | and tidy up.
- | Remove %1A
- Uux - %0!rnews <%1
- | and tidy up.
- Remove %1
-
- | Restore previous debug level
- Set Rucp$Debuglevel <OldDebug>
- Unset OldDebug
-